<?php


namespace App\Models\MainDB\Interaction;


use Illuminate\Database\Eloquent\Model;

class RoomInteractionProp extends Model
{
    protected $table = 'ln_room_interaction_prop';     //数据库内完整表名

    protected $primaryKey = 'id';    //主键名

    public $timestamps = false;
    public function getAddTimeAttribute($value)
    {
        return date('Y-m-d H:i:s', $value);
    }

    public function getUpdateTimeAttribute($value)
    {
        return date('Y-m-d H:i:s', $value);
    }
}